package cn.xfdzx.android.apps.shop.contract;

import cn.xfdzx.android.apps.shop.base.BaseView;
import cn.xfdzx.android.apps.shop.bean.AddAddressBeen;
import cn.xfdzx.android.apps.shop.bean.SelectImageBeen;
import io.reactivex.Flowable;


/**
 * @author azheng
 * @date 2018/6/4.
 * Description：
 */

public interface SelectImageContract {
    interface Model {
        Flowable<SelectImageBeen> selectImage(String category_id);

    }

    interface View extends BaseView {
        @Override
        void showLoading();

        @Override
        void hideLoading();

        @Override
        void onError(Throwable throwable);

        void onSelectImage(SelectImageBeen bean);
    }

    interface Presenter {
        /**
         *
         */
        void selectImage(String realname);
    }
}
